su -
apt-get install zsh
cat /etc/shells   # 查看系统可以用的 shell
chsh -s /bin/zsh  # 将 zsh 设置为系统默认 shell。

# zsh 配置较为复杂，使用配置管理工具来配置 zsh
# 即 oh-my-zsh
# sh -c "$(curl -fsSL https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh)"
# or
# sh -c "$(wget https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh -O -)"
# 同意使用 Oh-my-zsh 的配置模板覆盖已有的 .zshrc
wget https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh
sh install.sh

git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM}/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM}/plugins/zsh-autosuggestions  # 命令提示插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting  # 命令语法校验插件

# 下载字体


source ~/.zshrc
